<?php

/**
 * Provides implementors with the ability to create custom serialization/deserialization.
 * @author Navid Mitchell
 *
 */
interface Zend_Amf_Parse_Externalizer{
	
	/**
	 * Implmentations can dictate how the passed in object will be serialized
	 * @param Zend_Amf_Parse_Amf3_Serializer $serializer to be used to write the data to the output stream. 
	 * @param $object the object to be serialized
	 */
	public function writeExternal(Zend_Amf_Parse_Amf3_Serializer $serializer,&$object);
	
	
	public function readExternal();
	
}


?>